<%page expression_filter="h" args="course_overview, course_target, enrollment, enterprise_customer_name" />
<%!
from django.utils.translation import gettext as _
%>
<%namespace name='static' file='../static_content.html'/>

<div class="message message-upsell has-actions is-shown">
    <div class="wrapper-extended">
        <p class="message-copy" align="justify">
            <b class="message-copy-bold">
                ${_("Consent to share your data")}
            </b>
            <br>
            ${_("To access this course, you must first consent to share your learning achievements with {enterprise_customer_name}.").format(enterprise_customer_name=enterprise_customer_name)}
        </p>
        <div class="action-upgrade-container">
            <a class="action action-view-consent" href="${course_target}" data-course-key="${enrollment.course_id}">
                <span class="wrapper-copy">
                  <span class="copy" id="view-consent">${_("View Consent")}</span>
                  <span class="sr">&nbsp;${_(course_overview.display_name_with_default)}</span>
                </span>
            </a>
        </div>
    </div>
</div>
